#ifndef _LOGIC_SNAPSHOT_FRNTTURNLAMPSNAPSHOT_H_
#define _LOGIC_SNAPSHOT_FRNTTURNLAMPSNAPSHOT_H_

/* High four bit means last turn on lamp
 * _ _ daytime posn _ _ daytime posn
example1 : 0000 0000 idle
example2 : 0001 0001 last turn on lamp is posn lamp,    now turn on lamp is posn lamp
example1 : 0010 0011 last turn on lamp is daytime lamp, now both daytime lamp and posn lamp turn on
*/
#include "StateMachineState.h"

typedef struct FrntTurnLampSnapshot
{
    uint8_t records_;
} FrntTurnLampSnapshot;

extern void updateFrntTurnLampSnapshot(bool isPosnOn, bool isDayTimeOn, const FrntTurnLampSnapshot* const lastSnapshot,FrntTurnLampSnapshot* output);
extern NormalState getNormalStateWithFrntTurnLampSnapshot(const FrntTurnLampSnapshot* const snapshot);

#endif
